import floorImage from '@/assets/floor.png';
import wallImage from '@/assets/wall.png';
import cargoImage from '@/assets/cargo.png';
import targetImage from '@/assets/target.png';
import playerImage from '@/assets/keeper.png';

export type MapItemType = MapTile[];

export type MapType = MapItemType[];

export enum MapTile {
  WALL = 1,
  FLOOR = 2,
  CARGO = 3,
  TARGET = 4,
  PLAYER = 5,
}

export const imageMap: { [key: string]: string } = {
  [MapTile.WALL]: wallImage,
  [MapTile.FLOOR]: floorImage,
  [MapTile.CARGO]: cargoImage,
  [MapTile.TARGET]: targetImage,
  [MapTile.PLAYER]: playerImage,
};

export const STEP = 64;

export const cssWidthHeight = STEP + 'px';
